<template>
  <view class="cms-images">
    <img
      class="img"
      mode="widthFix"
      src="https://img.yzcdn.cn/vant/apple-5.jpg"
      alt=""
    />
  </view>
</template>

<script setup lang="ts">
const props = withDefaults(
  defineProps<{
    index: number
    item: { [k: string]: any }
  }>(),
  {
    index: 0
  }
)
</script>

<style lang="scss" scoped>
.cms-images {
  .img {
    width: 100%;
  }
}
</style>
